package com.lhy.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lhy.domain.Brand;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author lhy
* @description 针对表【goods_brand(品牌表)】的数据库操作Service
* @createDate 2024-07-26 20:26:32
*/
public interface BrandService extends IService<Brand> {
    List<Brand> selectAll();
    Integer insertBrand(Brand newBrand);

    Integer updateBrand(Brand newBrand);
    Integer delete(String ids);
    Integer changeStatus(Long id,Integer status);
    Integer changeStatus(Long id);

    List<Brand> selectList(Brand brand);
    Page<Brand> findPage(Integer current, Integer size);
    Page<Brand> findPage(Brand brand, Integer current, Integer size);
    List<Map<String,String>> findListByCategoryName(String categoryName);


}
